package com.situ.car.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Car {
    private Integer id;
    private String image;
    private String model;
    private String licensePlate;
    private Integer year;
    private String color;
    private String details;
    private Integer status;
    private Integer rentStatus;
    private BigDecimal rentalPrice;
    private Integer categoryId;
    private Integer brandId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date onSaleTime;
}
